<template>
  <div>
 <detail  :records="records" />
  </div>
</template>

<script>
import detail from './detail.vue'
import {getPaddingDiliver} from '../../request/api'
export default {
data(){
  return{
     records:[],
  }
},
 components:{
   detail
 },
created(){
   getPaddingDiliver({
     current:1
   }).then(res=>{
     console.log(res.data);
      this.records=res.data.records
   })
},
methods:{
       Send(val){
         this.$router.push({name:'send',params:{id:val}})
       }
 }
}
</script>

<style lang='less' scoped>
.list{
  margin: 5% 0;
}
</style>